package com.itheima.service;

import com.itheima.pojo.Blacklist;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author wangjiexin
 */
@Transactional(rollbackFor = RuntimeException.class)
public interface BlacklistService {

    boolean add(Blacklist blacklist);

    boolean delete(String id);
}
